EXAMPLE 15 chapter 5 arithmetic progression